package com.woshua.aopmodel;

import android.os.SystemClock;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.util.Log;
import android.view.View;

import com.woshua.aopmodel.aspect.BehaviorTrace;

public class FriendsActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_friends);
    }

    @BehaviorTrace("朋友圈")
    public void onFriends(View view) {

        {
            Log.d("FriendsActivity","朋友圈");
            SystemClock.sleep(20);
        }
    }
}
